<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>Market place</title>
</head>
<f:view>
	<body>
		<ui:composition>
			<p:dialog widgetVar="registerChooseLocationMapDlg" modal="true"
				id="registerChooseLocationMapDlg" header="#{msgs.putCursorOnPickupLocation}"
				footer="#{msgs.putCursorOnPickupLocation}" showEffect="explode"
				hideEffect="clip" width="850" height="500">
				<p:gmap id="pickupInfoMap" center="45.459280,-73.700000" zoom="12"
					type="HYBRID" style="width:900px;height:650px"
					model="#{locationModel.map}" streetView="true">					
						<p:ajax event="overlaySelect" partialSubmit="true" oncomplete="registerChooseLocationMapDlg.hide()"  update=":centerForm:pickupLocationPanelGrid"
							listener="#{locationModel.locationChangeOnMapForCurrentUser}"></p:ajax>					
				</p:gmap>
			</p:dialog>
		</ui:composition>
	</body>
</f:view>
</html>